home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2006 April / DPPRO0406DVD.ISO / Essentials / Programming / Eclipse SDK / eclipse-SDK-3.1.1-win32.exe / eclipse / plugins / org.eclipse.help.webapp_3.1.0 / index.jsp < prev    next >
Encoding:
Text File  |  2005-09-29  |  1.3 KB  |  42 lines

  1. <%--
  2.  Copyright (c) 2000, 2004 IBM Corporation and others.
  3.  All rights reserved. This program and the accompanying materials 
  4.  are made available under the terms of the Eclipse Public License v1.0
  5.  which accompanies this distribution, and is available at
  6.  http://www.eclipse.org/legal/epl-v10.html
  7.  
  8.  Contributors:
  9.      IBM Corporation - initial API and implementation
  10. --%>
  11. <%@ page import="org.eclipse.help.internal.webapp.data.*" errorPage="/advanced/err.jsp" contentType="text/html; charset=UTF-8"%>
  12. <%
  13.     request.setCharacterEncoding("UTF-8");
  14.  
  15.     if (request.getParameter("noscript") != null) {
  16.         request.getRequestDispatcher("/basic/index.jsp").forward(request, response);
  17.         return;
  18.     }
  19.  
  20.     RequestData data = new RequestData(application,request, response);
  21.     if(data.isBot()){
  22.         TocData tData = new TocData(application,request, response);
  23.         LayoutData lData = new LayoutData(application,request, response);
  24. %>
  25. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  26. <html>
  27. <head>
  28. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  29. <title><%=lData.getWindowTitle()%></title>
  30. </head>
  31. <body>
  32. <% tData.generateLinks(out); %>
  33. </body>
  34. </html>    
  35. <%
  36.     }else if(data.isAdvancedUI()){
  37.         request.getRequestDispatcher("/advanced/index.jsp").forward(request, response);
  38.     }else{
  39.         request.getRequestDispatcher("/basic/index.jsp").forward(request, response);
  40.     }
  41. %>
  42.